﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.T.BasicData.Domain.RBAC
{
    /// <summary>
    /// 用户角色中间表
    /// </summary>
    [Table("User_Role")]
    public class User_Role
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int User_RoleId {  get; set; }//ID
        public long UserId {  get; set; }//用户Id
        public long RolesId { get; set; }//角色Id
        public bool IsDele { get; set; } = false;
    }
}
